@(TaskForm: Form[model.Task], task: model.Task)

@import helper._

@main("Editar Tarea"){
	<h1>Editar Tarea</h1>


        
	@form(action = routes.Application.saveTask, args = 'id -> "TaskForm"){


		@inputText(
            field = TaskForm("Title"),
            args = '_label -> "Titulo: ", 'placeholder -> "Que hay que hacer?", 'cols -> 45
        )

        
        @textarea(
            field = TaskForm("Description"),
            args = '_label -> "Descripcion: ", 'placeholder -> "Algun detalle necesario?", 'cols -> 45, 'rows -> 4
        )
 
        @select(
            field = TaskForm("ProjectId"), 
            options(Application.projectOptions),
            args = '_label -> "Proyecto: "
        )

        @select(
            field = TaskForm("UserId"), 
            options(Application.usersOptions),
            args = '_label -> "Asignar a: "
        )
		
            <input class="btn btn-large btn-primary" type="submit" value="Guardar Task">
	}
}
